package com.easy.servlet.controller;

import java.io.IOException;
import java.util.Date;

import javax.enterprise.context.RequestScoped;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import com.bdqn.entity.Msg;
import com.bdqn.entity.Msguserinfo;
import com.easy.entity.Users;
import com.easy.mvc.annotation.Controller;
import com.easy.mvc.annotation.MehodType;
import com.easy.mvc.annotation.Param;
import com.easy.mvc.annotation.RequestMapping;
import com.easy.mvc.annotation.ResponseBody;
import com.easy.mvc.pojo.CommonsFile;
@Controller
@RequestMapping("/user")
public class UserServletController {


	@RequestMapping("/uploadPhoto")
	public  void  uploadPhoto(@Param("upload")CommonsFile upload,HttpSession  session){
		
		System.out.println("-----");
	}  

	
	@RequestMapping("/sendMsg")
	@ResponseBody
	public  Msg sendMsg(@Param("dd")String dd[],@Param("tt")Date tt[],Msg  msg,HttpSession  session){
		
		
		return  msg;
	}
	
}
